<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>

<jsp:useBean id="actionBean" scope="page"
             class="cz.muni.fi.pa165.bookingmanager.web.HotelActionBean"/>
<s:layout-render name="/backend/layout.jsp" title="moduleNames.hotels" selectedPage="hotels">
    <s:layout-component name="left-column">
        <h3><f:message key="global.menu" /></h3>
        <ul class="nav">
            <li><s:link beanclass="cz.muni.fi.pa165.bookingmanager.web.HotelActionBean" event="all"><f:message key="global.back_to_list" /> <f:message key="moduleNames.fourth_variant.hotels" /></s:link></li>        
        </ul>
    </s:layout-component>
    
    <s:layout-component name="body">
        <s:form beanclass="cz.muni.fi.pa165.bookingmanager.web.HotelActionBean">               
            <s:hidden name="hotel.id" />
            <c:import url="form.jsp">
                <c:param name="header" value="global.edit" />
            </c:import>    
            <s:submit class="button" name="save"><f:message key="global.edit" /></s:submit>
        </s:form>      
        
    </s:layout-component>
</s:layout-render>
